package com.ssm.auth.application.convert;

import com.ssm.auth.application.dto.AuthPermissionDTO;
import com.ssm.auth.application.dto.AuthRoleDTO;
import com.ssm.auth.domain.bo.AuthPermissionBO;
import com.ssm.auth.domain.bo.AuthRoleBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthPermissionDtoConvert {
    AuthPermissionDtoConvert INSTANCE = Mappers.getMapper(AuthPermissionDtoConvert.class);

    //Dto 转 Bo
    AuthPermissionBO AuthPermissionDtoToBo(AuthPermissionDTO authPermissionDTO);
}
